package HLLib.purchase;

import HLCode.HLClass;
import HLCode.HLClassManager;
import HLCode.HLClassManager_H;
import HLCode.HLLibObject;
import HLCode.HLObject;
import HLLib.base.HLString;

public class HLProduct extends HLLibObject {
    public HLClass GetClass(HLClassManager classManager) {
        return classManager.GetLibClass(HLClassManager_H.CLASS_GROUP_TYPE_LIB_PURCHASE, HLClassManager_H.LIB_CLASS_PURCHASE_Product);
    }

    public HLObject GetObject(int index) {
        switch (index) {
        case 0: {
            return name;
        }
        case 1: {
            return des;
        }
        case 2: {
            return price;
        }
        case 3: {
            return indenty;
        }
        case 4: {
            return localeCurrencySymbol;
        }
        }
        return null;
    }

    public void SetObject(int index, HLObject value) {
        switch (index) {
        case 0: {
            name = (HLString) value;
            return;
        }
        case 1: {
            des = (HLString) value;
            return;
        }
        case 2: {
            price = (HLString) value;
            return;
        }
        case 3: {
            indenty = (HLString) value;
            return;
        }
        case 4: {
            localeCurrencySymbol = (HLString) value;
            return;
        }
        }
    }

    public HLString name;

    public HLString des;

    public HLString price;

    public HLString indenty;
    public HLString localeCurrencySymbol;
}
